﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Easydp.Models.Entities
{
    [Serializable]
    public class TT_TrainRoute
    {
        private int lineID;
        public int LineID
        {
            get
            {
                return lineID;
            }
            set
            {
                if (this.lineID != value)
                    this.lineID = value;
            }
        }

        private string trainNumber;
        public string TrainNumber
        {
            get
            {
                return trainNumber;
            }
            set
            {
                if (this.trainNumber != value)
                    this.trainNumber = value;
            }
        }

        //起始站
        private string firstStation;
        public string FirstStation
        {
            get
            {
                return firstStation;
            }
            set
            {
                if (this.firstStation != value)
                    this.firstStation = value;
            }
        }

        //终点站
        private string lastStation;
        public string LastStation
        {
            get
            {
                return lastStation;
            }
            set
            {
                if (this.lastStation != value)
                    this.lastStation = value;
            }
        }
        //火车类型
        private string trainType;
        public string TrainType
        {
            get
            {
                return trainType;
            }
            set
            {
                if (this.trainType != value)
                    this.trainType = value;
            }
        }

        //开始站
        private string startstation;
        public string StartStation
        {
            get
            {
                return startstation;
            }
            set
            {
                if (this.startstation != value)
                    this.startstation = value;
            }
        }
        
        //目的站
        private string endstation;
        public string EndStation
        {
            get
            {
                return endstation;
            }
            set
            {
                if (this.endstation != value)
                    this.endstation = value;
            }
        }

        private string station;
        public string Station
        {
            get
            {
                return station;
            }
            set
            {
                if (this.station != value)
                    this.station = value;
            }
        }

        //总里程数(起始站和终点站)
        private int totalMileage;
        public int TotalMileage
        {
            get
            {
                return totalMileage;
            }
            set
            {
                if (this.totalMileage != value)
                    this.totalMileage = value;
            }
        }

        //总运行时间
        private string countimes;
        public string Countimes
        {
            get
            {
                return countimes;
            }
            set
            {
                if (this.countimes != value)
                    this.countimes = value;
            }
        }
        
        //里程(两站之间)
        private string mileage;
        public string Mileage
        {
            get
            {
                return mileage;
            }
            set
            {
                if (this.mileage != value)
                    this.mileage = value;
            }
        }

        //开车时间
        private string startTime;
        public string StartTime
        {
            get
            {
                return startTime;
            }
            set
            {
                if (this.startTime != value)
                    this.startTime = value;
            }
        }

        private string endTime;
        public string EndTime
        {
            get
            {
                return endTime;
            }
            set
            {
                if (this.endTime != value)
                    this.endTime = value;
            }
        }

        private string stopTime;
        public string StopTime
        {
            get
            {
                return stopTime;
            }
            set
            {
                if (this.stopTime != value)
                    this.stopTime = value;
            }
        }

        private string runTime;
        public string RunTime
        {
            get
            {
                return runTime;
            }
            set
            {
                if (this.runTime != value)
                    this.runTime = value;
            }
        }

        private string m_yz;
        public string M_yz
        {
            get
            {
                return m_yz;
            }
            set
            {
                if (this.m_yz != value)
                    this.m_yz = value;
            }
        }

        private string m_rz;
        public string M_rz
        {
            get
            {
                return m_rz;
            }
            set
            {
                if (this.m_rz != value)
                    this.m_rz = value;
            }
        }

        private string m_yw;
        public string M_yw
        {
            get
            {
                return m_yw;
            }
            set
            {
                if (this.m_yw != value)
                    this.m_yw = value;
            }
        }

        private string m_rw;
        public string M_rw
        {
            get
            {
                return m_rw;
            }
            set
            {
                if (this.m_rw != value)
                    this.m_rw = value;
            }
        }

        private string position;
        public string Position
        {
            get
            {
                return position;
            }
            set
            {
                if (this.position != value)
                    this.position = value;
            }
        }

        private string shortCode;
        public string ShortCode
        {
            get
            {
                return shortCode;
            }
            set
            {
                if (this.shortCode != value)
                    this.shortCode = value;
            }
        }


    }
}
